<template>
	<view class="container">
		<h5 class="param-title detail-head">{{ paramTitle }}
			<u-button type="primary" class="research_btn" size="mini" shape="square" @click="isRead(index)">查询</u-button>
		</h5>
		<!-- 仓控单元 -->
		<view class="binparam" v-if="type == 1">
			<view class="bin_right">
				<view class="binone">
					<text class="labels">仓门状态：</text>
					<text
						:style="{color: comColor2(binStatus.param1)}">{{DOOR_STATUS[binStatus.param1] || binStatus.param1}}</text>
				</view>
				<view class="binone">
					<text class="labels">电池在位信息：</text>
					<text
						:style="{color: comColor2(binStatus.param2)}">{{BATTERY_ISON[binStatus.param2] || binStatus.param2}}</text>
				</view>
				<view class="binone">
					<text class="labels">仓温度：</text>
					<text>{{binStatus.param3}}°C</text>
				</view>
				<view class="binone">
					<text class="labels">仓门反馈点数量：</text>
					<text>{{binStatus.param4}}</text>
				</view>
				<h5 class="label-title">开关量</h5>
				<view class="binone">
					<text class="labels">门锁反馈信号1：</text>
					<text
						:style="{color: comColor(binStatus.param5)}">{{MAINTAIN_DOOR[binStatus.param5] || binStatus.param5}}</text>
				</view>
				<view class="binone">
					<text class="labels">门锁反馈信号2：</text>
					<text
						:style="{color: comColor(binStatus.param6)}">{{MAINTAIN_DOOR[binStatus.param6] || binStatus.param6}}</text>
				</view>
				<view class="binone">
					<text class="labels">门锁反馈信号3：</text>
					<text
						:style="{color: comColor(binStatus.param7)}">{{MAINTAIN_DOOR[binStatus.param7] || binStatus.param7}}</text>
				</view>
				<view class="binone">
					<text class="labels">门锁反馈信号4：</text>
					<text
						:style="{color: comColor(binStatus.param8)}">{{MAINTAIN_DOOR[binStatus.param8] || binStatus.param8}}</text>
				</view>
				<view class="binone">
					<text class="labels">灭火器反馈点：</text>
					<text
						:style="{color: comColor2(binStatus.param9)}">{{IS_WARN[binStatus.param9] || binStatus.param9}}</text>
				</view>
				<view class="binone">
					<text class="labels">温度高温：</text>
					<text
						:style="{color: comColor2(binStatus.param10)}">{{IS_WARN[binStatus.param10] || binStatus.param10}}</text>
				</view>
				<view class="binone">
					<text class="labels">局部快速升温：</text>
					<text
						:style="{color: comColor2(binStatus.param11)}">{{IS_WARN[binStatus.param11] || binStatus.param11}}</text>
				</view>
				<view class="binone">
					<text class="labels">加热状态：</text>
					<text
						:style="{color: comColor2(binStatus.param12)}">{{HEAT1[binStatus.param12] || binStatus.param12}}</text>
				</view>
				<h5 class="label-title">开关量默认态</h5>
				<view class="binone">
					<text class="labels">门锁反馈信号1：</text>
					<text
						:style="{color: comColor2(binStatus.param13)}">{{SMOKE_STATUS[binStatus.param13] || binStatus.param13}}</text>
				</view>
				<view class="binone">
					<text class="labels">门锁反馈信号2：</text>
					<text
						:style="{color: comColor2(binStatus.param14)}">{{SMOKE_STATUS[binStatus.param14] || binStatus.param14}}</text>
				</view>
				<view class="binone">
					<text class="labels">门锁反馈信号3：</text>
					<text
						:style="{color: comColor2(binStatus.param15)}">{{SMOKE_STATUS[binStatus.param15] || binStatus.param15}}</text>
				</view>
				<view class="binone">
					<text class="labels">门锁反馈信号4：</text>
					<text
						:style="{color: comColor2(binStatus.param16)}">{{SMOKE_STATUS[binStatus.param16] || binStatus.param16}}</text>
				</view>
				<view class="binone">
					<text class="labels">灭火器反馈信号：</text>
					<text
						:style="{color: comColor2(binStatus.param17)}">{{SMOKE_STATUS[binStatus.param17] || binStatus.param17}}</text>
				</view>
				<view class="binone">
					<text class="labels">在位反馈信号：</text>
					<text
						:style="{color: comColor2(binStatus.param18)}">{{SMOKE_STATUS[binStatus.param18] || binStatus.param18}}</text>
				</view>
			</view>
		</view>
		<!-- 检测单元 -->
		<view class="binparam" v-else-if="type == 2">
			<u-cell-group :border="false">
				<u-cell-item title="电表电压：" :arrow="false" :value="`${unitInfo.param1}V`">
				</u-cell-item>
				<u-cell-item title="电表电流：" :arrow="false" :value="`${unitInfo.param2}A`">
				</u-cell-item>
				<u-cell-item title="电表电量：" :arrow="false" :value="`${unitInfo.param3}kwh`">
				</u-cell-item>
				<u-cell-item title="柜温度1：" :arrow="false" :value="`${unitInfo.param4}°C`">
				</u-cell-item>
				<u-cell-item title="柜温度2：" :arrow="false" :value="`${unitInfo.param5}°C`">
				</u-cell-item>
				<u-cell-item title="维护门反馈点数量：" :arrow="false" :value="`${unitInfo.param6}`">
				</u-cell-item>
				<h5 class="label-title warn-title">状态告警量：</h5>
				<view class="warn-cell">
					<u-cell-item title="浸水告警:" :arrow="false" :value="IS_WARN[unitInfo.param7] || unitInfo.param7"
						:value-style="{color: comColor2(unitInfo.param7)}">
					</u-cell-item>
					<u-cell-item title="烟感告警:" :arrow="false" :value="`${IS_WARN[unitInfo.param8] || unitInfo.param8}`"
						:value-style="{color: comColor2(unitInfo.param8)}">
					</u-cell-item>
					<u-cell-item title="消防告警:" :arrow="false" :value="`${IS_WARN[unitInfo.param9] || unitInfo.param9}`"
						:value-style="{color: comColor2(unitInfo.param9)}">
					</u-cell-item>
					<u-cell-item title="加热1:" :arrow="false" :value="`${HEAT1[unitInfo.param10] || unitInfo.param10}`"
						:value-style="{color: comColor(unitInfo.param10)}">
					</u-cell-item>
					<u-cell-item title="直流风扇1:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param11] || unitInfo.param11}`"
						:value-style="{color: comColor(unitInfo.param11)}">
					</u-cell-item>

					<u-cell-item title="直流风扇2:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param12] || unitInfo.param12}`"
						:value-style="{color: comColor(unitInfo.param12)}">
					</u-cell-item>
					<u-cell-item title="直流风扇3:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param13] || unitInfo.param13}`"
						:value-style="{color: comColor(unitInfo.param13)}">
					</u-cell-item>
					<u-cell-item title="直流风扇4:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param14] || unitInfo.param14}`"
						:value-style="{color: comColor(unitInfo.param14)}">
					</u-cell-item>
					<u-cell-item title="交流风扇1:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param15] || unitInfo.param15}`"
						:value-style="{color: comColor(unitInfo.param15)}">
					</u-cell-item>
					<u-cell-item title="交流风扇2:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param16] || unitInfo.param16}`"
						:value-style="{color: comColor(unitInfo.param16)}">
					</u-cell-item>
					<u-cell-item title="交流风扇3:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param17] || unitInfo.param17}`"
						:value-style="{color: comColor(unitInfo.param17)}">
					</u-cell-item>
					<u-cell-item title="直流加热风扇1:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param18] || unitInfo.param18}`"
						:value-style="{color: comColor(unitInfo.param18)}">
					</u-cell-item>

					<u-cell-item title="异常断电:" :arrow="false"
						:value="`${ABNORMAL_OUTAGE[unitInfo.param19] || unitInfo.param19}`"
						:value-style="{color: comColor2(unitInfo.param19)}">
					</u-cell-item>
					<u-cell-item title="照明灯:" :arrow="false"
						:value="`${FLOODLIGHT[unitInfo.param20] || unitInfo.param20}`"
						:value-style="{color: comColor(unitInfo.param20)}">
					</u-cell-item>

					<u-cell-item title="维护门1:" :arrow="false"
						:value="`${MAINTAIN_DOOR[unitInfo.param21] || unitInfo.param21}`"
						:value-style="{color: comColor(unitInfo.param21)}">
					</u-cell-item>
					<u-cell-item title="维护门2:" :arrow="false"
						:value="`${MAINTAIN_DOOR[unitInfo.param22] || unitInfo.param22}`"
						:value-style="{color: comColor(unitInfo.param22)}">
					</u-cell-item>
					<u-cell-item title="过温告警:" :arrow="false" :value="IS_WARN[unitInfo.param23] || unitInfo.param23"
						:value-style="{color: comColor2(unitInfo.param23)}">
					</u-cell-item>
					<u-cell-item title="局部温升过快告警:" :arrow="false" :value="IS_WARN[unitInfo.param24] || unitInfo.param24"
						:value-style="{color: comColor2(unitInfo.param24)}">
					</u-cell-item>
					<u-cell-item title="直流风扇5:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param25] || unitInfo.param25}`"
						:value-style="{color: comColor(unitInfo.param25)}">
					</u-cell-item>
					<u-cell-item title="直流加热风扇2:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param26] || unitInfo.param26}`"
						:value-style="{color: comColor(unitInfo.param26)}">
					</u-cell-item>
					<u-cell-item title="直流加热风扇3:" :arrow="false"
						:value="`${IS_ENABLED[unitInfo.param27] || unitInfo.param27}`"
						:value-style="{color: comColor(unitInfo.param27)}">
					</u-cell-item>
					<u-cell-item title="加热2状态:" :arrow="false" :value="`${HEAT1[unitInfo.param28] || unitInfo.param28}`"
						:value-style="{color: comColor(unitInfo.param28)}">
					</u-cell-item>
					<u-cell-item title="加热3状态:" :arrow="false" :value="`${HEAT1[unitInfo.param29] || unitInfo.param29}`"
						:value-style="{color: comColor(unitInfo.param29)}">
					</u-cell-item>
				</view>
				<h5 class="label-title warn-title">反馈点信息量：</h5>
				<view class="warn-cell">
					<u-cell-item title="水位检测反馈点:" :arrow="false"
						:value="`${WATER_FEEDBACK[unitInfo.param30] || unitInfo.param30}`"
						:value-style="{color: comColor(unitInfo.param30)}">
					</u-cell-item>
					<u-cell-item title="烟感反馈点状态:" :arrow="false"
						:value="`${SMOKE_STATUS[unitInfo.param31] || unitInfo.param31}`"
						:value-style="{color: comColor2(unitInfo.param31)}">
					</u-cell-item>
					<u-cell-item title="消防反馈点状态:" :arrow="false"
						:value="`${SMOKE_STATUS[unitInfo.param32] || unitInfo.param32}`"
						:value-style="{color: comColor2(unitInfo.param32)}">
					</u-cell-item>
					<u-cell-item title="维护门反馈点1状态:" :arrow="false"
						:value="`${SMOKE_STATUS[unitInfo.param33] || unitInfo.param33}`"
						:value-style="{color: comColor2(unitInfo.param33)}">
					</u-cell-item>
					<u-cell-item title="维护门反馈点2状态:" :arrow="false"
						:value="`${SMOKE_STATUS[unitInfo.param34] || unitInfo.param34}`"
						:value-style="{color: comColor2(unitInfo.param34)}">
					</u-cell-item>
				</view>
			</u-cell-group>
		</view>
		<!-- 柜控电源 -->
		<view class="binparam" v-else-if="type == 3">
			<u-cell-group :border="false">
				<u-cell-item title="输出电流：" :arrow="false" :value="`${cabinetInfo.param1}A`">
				</u-cell-item>
				<u-cell-item title="输出电压：" :arrow="false" :value="`${cabinetInfo.param2}V`">
				</u-cell-item>
				<u-cell-item title="电源温度：" :arrow="false" :value="`${cabinetInfo.param3}℃`">
				</u-cell-item>
				<h5 class="label-title warn-title">故障状态：</h5>
				<view class="warn-cell">
					<u-cell-item title="开关机状态:" :arrow="false"
						:value="`${IS_START[cabinetInfo.param4] || cabinetInfo.param4}`"
						:value-style="{color: comColor2(cabinetInfo.param4)}">
					</u-cell-item>
					<u-cell-item title="输出过压:" :arrow="false"
						:value="`${IS_FAULT[cabinetInfo.param5] || cabinetInfo.param5}`"
						:value-style="{color: comColor2(cabinetInfo.param5)}">
					</u-cell-item>
					<u-cell-item title="地址检测异常:" :arrow="false"
						:value="`${IS_NORMAL[cabinetInfo.param6] ||cabinetInfo.param6}`"
						:value-style="{color: comColor2(cabinetInfo.param6)}">
					</u-cell-item>
					<u-cell-item title="过温故障:" :arrow="false"
						:value="`${IS_FAULT[cabinetInfo.param7] || cabinetInfo.param7}`"
						:value-style="{color: comColor2(cabinetInfo.param7)}">
					</u-cell-item>
					<u-cell-item title="过流告警:" :arrow="false"
						:value="`${OVETRCURRENT[cabinetInfo.param8] || cabinetInfo.param8}`"
						:value-style="{color: comColor2(cabinetInfo.param7)}">
					</u-cell-item>
					<u-cell-item title="输出短路:" :arrow="false"
						:value="`${IS_FAULT[cabinetInfo.param9] || cabinetInfo.param9}`"
						:value-style="{color: comColor2(cabinetInfo.param9)}">
					</u-cell-item>
					<u-cell-item title="输出欠压:" :arrow="false"
						:value="`${IS_FAULT[cabinetInfo.param10] || cabinetInfo.param10}`"
						:value-style="{color: comColor2(cabinetInfo.param10)}">
					</u-cell-item>
					<u-cell-item title="输入过压:" :arrow="false"
						:value="`${IS_FAULT[cabinetInfo.param11] || cabinetInfo.param11}`"
						:value-style="{color: comColor2(cabinetInfo.param11)}">
					</u-cell-item>
					<u-cell-item title="输入欠压:" :arrow="false"
						:value="`${IS_FAULT[cabinetInfo.param12] || cabinetInfo.param12}`"
						:value-style="{color: comColor2(cabinetInfo.param12)}">
					</u-cell-item>
				</view>
			</u-cell-group>
		</view>
		<!-- 整流电源 -->
		<view class="binparam" v-else-if="type == 4">
			<u-cell-group :border="false">
				<u-cell-item title="输出电流：" :arrow="false" :value="`${powerInfo.param1}A`">
				</u-cell-item>
				<u-cell-item title="输出电压：" :arrow="false" :value="`${powerInfo.param2}V`">
				</u-cell-item>
				<u-cell-item title="输入电压：" :arrow="false" :value="`${powerInfo.param3}V`">
				</u-cell-item>
				<u-cell-item title="电源温度：" :arrow="false" :value="`${powerInfo.param4}℃`">
				</u-cell-item>
				<h5 class="label-title warn-title">故障状态：</h5>
				<view class="warn-cell">
					<u-cell-item title="开关机状态:" :arrow="false"
						:value="`${IS_START[powerInfo.param5] || powerInfo.param5}`"
						:value-style="{color: comColor2(powerInfo.param5)}">
					</u-cell-item>
					<u-cell-item title="输入过压:" :arrow="false"
						:value="`${IS_FAULT[powerInfo.param6] || powerInfo.param6}`"
						:value-style="{color: comColor2(powerInfo.param6)}">
					</u-cell-item>

					<u-cell-item title="输入欠压:" :arrow="false"
						:value="`${IS_FAULT[powerInfo.param7] || powerInfo.param7}`"
						:value-style="{color: comColor2(powerInfo.param7)}">
					</u-cell-item>
					<u-cell-item title="输出过压:" :arrow="false"
						:value="`${IS_FAULT[powerInfo.param8] || powerInfo.param8}`"
						:value-style="{color: comColor2(powerInfo.param8)}">
					</u-cell-item>
					<u-cell-item title="输出欠压:" :arrow="false"
						:value="`${IS_FAULT[powerInfo.param9] || powerInfo.param9}`"
						:value-style="{color: comColor2(powerInfo.param9)}">
					</u-cell-item>
					<u-cell-item title="地址检测异常:" :arrow="false"
						:value="`${IS_NORMAL[powerInfo.param10] || powerInfo.param10}`"
						:value-style="{color: comColor2(powerInfo.param10)}">
					</u-cell-item>
					<u-cell-item title="风扇故障:" :arrow="false"
						:value="`${IS_FAULT[powerInfo.param11] || powerInfo.param11}`"
						:value-style="{color: comColor2(powerInfo.param11)}">
					</u-cell-item>
					<u-cell-item title="过温故障:" :arrow="false"
						:value="`${IS_FAULT[powerInfo.param12] || powerInfo.param12}`"
						:value-style="{color: comColor2(powerInfo.param12)}">
					</u-cell-item>
					<u-cell-item title="休眠状态:" :arrow="false"
						:value="`${IS_DORMANT[powerInfo.param13] || powerInfo.param13}`"
						:value-style="{color: comColor2(powerInfo.param13)}">
					</u-cell-item>
					<u-cell-item title="输出短路:" :arrow="false"
						:value="`${IS_FAULT[powerInfo.param14] || powerInfo.param14}`"
						:value-style="{color: comColor2(powerInfo.param14)}">
					</u-cell-item>
					<u-cell-item title="交流过欠频:" :arrow="false"
						:value="`${IS_FAULT[powerInfo.param15] || powerInfo.param15}`"
						:value-style="{color: comColor2(powerInfo.param15)}">
					</u-cell-item>
					<u-cell-item title="限流告警:" :arrow="false"
						:value="`${CURRENT_LIMIT[powerInfo.param16] || powerInfo.param16}`"
						:value-style="{color: comColor2(powerInfo.param16)}">
					</u-cell-item>
				</view>
			</u-cell-group>
		</view>
		<!-- 充电电源 -->
		<view class="binparam" v-else-if="type == 5">
			<u-cell-group :border="false">
				<u-cell-item title="电源侧电压：" :arrow="false" :value="`${chargeInfo.param1}V`">
				</u-cell-item>
				<u-cell-item title="电源侧电流：" :arrow="false" :value="`${chargeInfo.param2}A`">
				</u-cell-item>
				<u-cell-item title="DC/DC温度：" :arrow="false" :value="`${chargeInfo.param3}℃`">
				</u-cell-item>

				<h5 class="label-title warn-title">开关量1：</h5>
				<view class="warn-cell">
					<u-cell-item title="输入过压:" :arrow="false" :value="`${chargeInfo.param4}`">
					</u-cell-item>
					<u-cell-item title="输入欠压:" :arrow="false" :value="`${chargeInfo.param5}`">
					</u-cell-item>
					<u-cell-item title="输出过压:" :arrow="false" :value="`${chargeInfo.param6}`">
					</u-cell-item>
					<u-cell-item title="电源通信离线:" :arrow="false" :value="`${chargeInfo.param7}`">
					</u-cell-item>
					<u-cell-item title="充电短路:" :arrow="false" :value="`${chargeInfo.param8}`">
					</u-cell-item>
					<u-cell-item title="充电过流:" :arrow="false" :value="`${chargeInfo.param9}`">
					</u-cell-item>
					<u-cell-item title="电源高温:" :arrow="false" :value="`${chargeInfo.param10}`">
					</u-cell-item>
					<u-cell-item title="放电过流:" :arrow="false" :value="`${chargeInfo.param11}`">
					</u-cell-item>
					<u-cell-item title="运行模式:" :arrow="false"
						:value="`${IS_AUTO[chargeInfo.param12] || chargeInfo.param12}`"
						:value-style="{color: comColor2(chargeInfo.param12)}">
					</u-cell-item>
					<u-cell-item title="备电模式:" :arrow="false"
						:value="`${IS_FORBIDDEN[chargeInfo.param13] || chargeInfo.param13}`"
						:value-style="{color: comColor(chargeInfo.param13)}">
					</u-cell-item>
					<u-cell-item title="电池类型:" :arrow="false"
						:value="`${BATERRY_TYPE[chargeInfo.param14] || chargeInfo.param14}`">
					</u-cell-item>
					<u-cell-item title="充电异常:" :arrow="false" :value="`${chargeInfo.param15}`">
					</u-cell-item>
				</view>

				<u-cell-item title="运行状态：" :arrow="false"
					:value="`${RUN_STATUS[chargeInfo.param16] || chargeInfo.param16}`">
				</u-cell-item>

				<h5 class="label-title warn-title">开关量2：</h5>
				<view class="warn-cell">
					<u-cell-item title="电池单芯欠压保护:" :arrow="false"
						:value="`${UNDERVOL[chargeInfo.param17] || chargeInfo.param17}`"
						:value-style="{color: comColor2(chargeInfo.param17)}">
					</u-cell-item>
					<u-cell-item title="电池单芯过压保护:" :arrow="false"
						:value="`${UPVOL[chargeInfo.param18] || chargeInfo.param18}`"
						:value-style="{color: comColor2(chargeInfo.param18)}">
					</u-cell-item>
					<u-cell-item title="电池单芯低温保护:" :arrow="false"
						:value="`${LOWTEM[chargeInfo.param19] || chargeInfo.param19}`"
						:value-style="{color: comColor2(chargeInfo.param19)}">
					</u-cell-item>
					<u-cell-item title="电池单芯高温保护:" :arrow="false"
						:value="`${HIGHTEM[chargeInfo.param20] || chargeInfo.param20}`"
						:value-style="{color: comColor2(chargeInfo.param20)}">
					</u-cell-item>
					<u-cell-item title="电池单芯压差过大:" :arrow="false"
						:value="`${PRESSURE[chargeInfo.param21] || chargeInfo.param21}`"
						:value-style="{color: comColor2(chargeInfo.param21)}">
					</u-cell-item>
					<u-cell-item title="电池MOS异常:" :arrow="false"
						:value="`${MOS_STATUS[chargeInfo.param22] || chargeInfo.param22}`"
						:value-style="{color: comColor2(chargeInfo.param22)}">
					</u-cell-item>
					<u-cell-item title="电池BMS状态异常保护:" :arrow="false"
						:value="`${BMS_STATUS[chargeInfo.param23] || chargeInfo.param23}`"
						:value-style="{color: comColor2(chargeInfo.param23)}">
					</u-cell-item>
					<u-cell-item title="电池放电过流保护:" :arrow="false"
						:value="`${OVER_CURRENT[chargeInfo.param24] || chargeInfo.param24}`"
						:value-style="{color: comColor2(chargeInfo.param24)}">
					</u-cell-item>
					<u-cell-item title="电池充电过流保护:" :arrow="false"
						:value="`${CHARGE_CURRENT[chargeInfo.param25] || chargeInfo.param25}`"
						:value-style="{color: comColor2(chargeInfo.param25)}">
					</u-cell-item>
					<u-cell-item title="电池持续充电6小时:" :arrow="false"
						:value="`${IS_CHARGE[chargeInfo.param26] || chargeInfo.param26}`"
						:value-style="{color: comColor(chargeInfo.param26)}">
					</u-cell-item>
					<u-cell-item title="仓门状态:" :arrow="false"
						:value="`${IS_DOORS[chargeInfo.param27] || chargeInfo.param27}`"
						:value-style="{color: comColor2(chargeInfo.param27)}">
					</u-cell-item>
					<u-cell-item title="电池单芯电压失效:" :arrow="false"
						:value="`${VOL_LOSE[chargeInfo.param28] || chargeInfo.param28}`"
						:value-style="{color: comColor2(chargeInfo.param28)}">
					</u-cell-item>
					<u-cell-item title="电池离线:" :arrow="false"
						:value="`${BATTERY_ONLINE[chargeInfo.param29] || chargeInfo.param29}`"
						:value-style="{color: comColor2(chargeInfo.param29)}">
					</u-cell-item>
					<u-cell-item title="电池不允许充电:" :arrow="false"
						:value="`${NOTALLOW_CHARGE[chargeInfo.param30] || chargeInfo.param30}`"
						:value-style="{color: comColor2(chargeInfo.param30)}">
					</u-cell-item>
					<u-cell-item title="电池负载短路保护:" :arrow="false"
						:value="`${LOAD_PROTECT[chargeInfo.param31] || chargeInfo.param31}`"
						:value-style="{color: comColor2(chargeInfo.param31)}">
					</u-cell-item>
					<u-cell-item title="电池总电压过压保护:" :arrow="false"
						:value="`${UP_VOL_PROTECT[chargeInfo.param32] || chargeInfo.param32}`"
						:value-style="{color: comColor2(chargeInfo.param32)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">开关量3：</h5>
				<view class="warn-cell">
					<u-cell-item title="电池反接保护:" :arrow="false"
						:value="`${INVERSE_PROTECT[chargeInfo.param33] || chargeInfo.param33}`"
						:value-style="{color: comColor2(chargeInfo.param33)}">
					</u-cell-item>
					<u-cell-item title="电池总电压欠压保护:" :arrow="false"
						:value="`${LOW_VOL_PROTECT[chargeInfo.param34] || chargeInfo.param34}`"
						:value-style="{color: comColor2(chargeInfo.param34)}">
					</u-cell-item>
					<u-cell-item title="电池MOS高温保护:" :arrow="false"
						:value="`${MOS_HIGH_TEM[chargeInfo.param35] || chargeInfo.param35}`"
						:value-style="{color: comColor2(chargeInfo.param35)}">
					</u-cell-item>
					<u-cell-item title="电池环境高温保护:" :arrow="false"
						:value="`${ENVIR_HIGH_TEM[chargeInfo.param36] || chargeInfo.param36}`"
						:value-style="{color: comColor2(chargeInfo.param36)}">
					</u-cell-item>
					<u-cell-item title="电池环境低温保护:" :arrow="false"
						:value="`${ENVIR_LOW_TEM[chargeInfo.param37] || chargeInfo.param37}`"
						:value-style="{color: comColor2(chargeInfo.param37)}">
					</u-cell-item>
					<u-cell-item title="电池单芯超高温保护:" :arrow="false"
						:value="`${CELL_HIGH_TEM[chargeInfo.param38] || chargeInfo.param38}`"
						:value-style="{color: comColor2(chargeInfo.param38)}">
					</u-cell-item>
					<u-cell-item title="电池放电限流告警:" :arrow="false"
						:value="`${CURRENT_LIMIT_WARN[chargeInfo.param39] || chargeInfo.param39}`"
						:value-style="{color: comColor2(chargeInfo.param39)}">
					</u-cell-item>
				</view>
				<u-cell-item title="电池在位电压：" :arrow="false" :value="`${chargeInfo.param40}V`">
				</u-cell-item>
				<u-cell-item title="电池充电时长：" :arrow="false" :value="`${chargeInfo.param41}min`">
				</u-cell-item>
			</u-cell-group>
		</view>
		<!-- 电池 -->
		<view class="binparam" v-else-if="type == 6">
			<u-cell-group :border="false">
				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="压差过大:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param1)}`"
						:value-style="{color: comColor2(batteryInfo.param1)}">
					</u-cell-item>
					<u-cell-item title="充电过流:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param2)}`"
						:value-style="{color: comColor2(batteryInfo.param2)}">
					</u-cell-item>
					<u-cell-item title="放电过流:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param3)}`"
						:value-style="{color: comColor2(batteryInfo.param3)}">
					</u-cell-item>
					<u-cell-item title="短路保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param4)}`"
						:value-style="{color: comColor2(batteryInfo.param4)}">
					</u-cell-item>
					<u-cell-item title="充电高温保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param5)}`"
						:value-style="{color: comColor2(batteryInfo.param5)}">
					</u-cell-item>
					<u-cell-item title="放电高温保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param6)}`"
						:value-style="{color: comColor2(batteryInfo.param6)}">
					</u-cell-item>
					<u-cell-item title="充电低温保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param7)}`"
						:value-style="{color: comColor2(batteryInfo.param7)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="放电低温保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param8)}`"
						:value-style="{color: comColor2(batteryInfo.param8)}">
					</u-cell-item>
					<u-cell-item title="充电MOS管损坏:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param9)}`"
						:value-style="{color: comColor2(batteryInfo.param9)}">
					</u-cell-item>
					<u-cell-item title="放电MOS管损坏:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param10)}`"
						:value-style="{color: comColor2(batteryInfo.param10)}">
					</u-cell-item>
					<u-cell-item title="内部通讯异常(BMS状态异常):" :arrow="false"
						:value="`${detailYesOrNo(batteryInfo.param11)}`"
						:value-style="{color: comColor2(batteryInfo.param11)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护1:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param12)}`"
						:value-style="{color: comColor2(batteryInfo.param12)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护2:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param13)}`"
						:value-style="{color: comColor2(batteryInfo.param13)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护3:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param14)}`"
						:value-style="{color: comColor2(batteryInfo.param14)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护4:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param15)}`"
						:value-style="{color: comColor2(batteryInfo.param15)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过充电压保护5:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param16)}`"
						:value-style="{color: comColor2(batteryInfo.param16)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护6:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param17)}`"
						:value-style="{color: comColor2(batteryInfo.param17)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护7:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param18)}`"
						:value-style="{color: comColor2(batteryInfo.param18)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护8:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param19)}`"
						:value-style="{color: comColor2(batteryInfo.param19)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护9:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param20)}`"
						:value-style="{color: comColor2(batteryInfo.param20)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护10:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param21)}`"
						:value-style="{color: comColor2(batteryInfo.param21)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护11:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param22)}`"
						:value-style="{color: comColor2(batteryInfo.param22)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护12:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param23)}`"
						:value-style="{color: comColor2(batteryInfo.param23)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过充电压保护13:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param24)}`"
						:value-style="{color: comColor2(batteryInfo.param24)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护14:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param25)}`"
						:value-style="{color: comColor2(batteryInfo.param25)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护15:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param26)}`"
						:value-style="{color: comColor2(batteryInfo.param26)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护16:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param27)}`"
						:value-style="{color: comColor2(batteryInfo.param27)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护17:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param28)}`"
						:value-style="{color: comColor2(batteryInfo.param28)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护18:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param29)}`"
						:value-style="{color: comColor2(batteryInfo.param29)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护19:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param30)}`"
						:value-style="{color: comColor2(batteryInfo.param30)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护20:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param31)}`"
						:value-style="{color: comColor2(batteryInfo.param31)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过充电压保护21:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param32)}`"
						:value-style="{color: comColor2(batteryInfo.param32)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护22:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param33)}`"
						:value-style="{color: comColor2(batteryInfo.param33)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护23:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param34)}`"
						:value-style="{color: comColor2(batteryInfo.param34)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护24:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param35)}`"
						:value-style="{color: comColor2(batteryInfo.param35)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护25:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param36)}`"
						:value-style="{color: comColor2(batteryInfo.param36)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护26:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param37)}`"
						:value-style="{color: comColor2(batteryInfo.param37)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护27:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param38)}`"
						:value-style="{color: comColor2(batteryInfo.param38)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护28:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param39)}`"
						:value-style="{color: comColor2(batteryInfo.param39)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过充电压保护29:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param40)}`"
						:value-style="{color: comColor2(batteryInfo.param40)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护30:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param41)}`"
						:value-style="{color: comColor2(batteryInfo.param41)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护31:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param42)}`"
						:value-style="{color: comColor2(batteryInfo.param42)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护32:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param43)}`"
						:value-style="{color: comColor2(batteryInfo.param43)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护33:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param44)}`"
						:value-style="{color: comColor2(batteryInfo.param44)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护34:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param45)}`"
						:value-style="{color: comColor2(batteryInfo.param45)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护35:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param46)}`"
						:value-style="{color: comColor2(batteryInfo.param46)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护36:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param47)}`"
						:value-style="{color: comColor2(batteryInfo.param47)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过充电压保护37:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param48)}`"
						:value-style="{color: comColor2(batteryInfo.param48)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护38:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param49)}`"
						:value-style="{color: comColor2(batteryInfo.param49)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护39:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param50)}`"
						:value-style="{color: comColor2(batteryInfo.param50)}">
					</u-cell-item>
					<u-cell-item title="过充电压保护40:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param51)}`"
						:value-style="{color: comColor2(batteryInfo.param51)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过放电压保护1:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param52)}`"
						:value-style="{color: comColor2(batteryInfo.param52)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护2:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param53)}`"
						:value-style="{color: comColor2(batteryInfo.param53)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护3:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param54)}`"
						:value-style="{color: comColor2(batteryInfo.param54)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护4:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param55)}`"
						:value-style="{color: comColor2(batteryInfo.param55)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护5:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param56)}`"
						:value-style="{color: comColor2(batteryInfo.param56)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护6:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param57)}`"
						:value-style="{color: comColor2(batteryInfo.param57)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护7:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param58)}`"
						:value-style="{color: comColor2(batteryInfo.param58)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护8:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param59)}`"
						:value-style="{color: comColor2(batteryInfo.param59)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过放电压保护9:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param60)}`"
						:value-style="{color: comColor2(batteryInfo.param60)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护10:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param61)}`"
						:value-style="{color: comColor2(batteryInfo.param61)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护11:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param62)}`"
						:value-style="{color: comColor2(batteryInfo.param62)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护12:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param63)}`"
						:value-style="{color: comColor2(batteryInfo.param63)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护13:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param64)}`"
						:value-style="{color: comColor2(batteryInfo.param64)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护14:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param65)}`"
						:value-style="{color: comColor2(batteryInfo.param65)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护15:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param66)}`"
						:value-style="{color: comColor2(batteryInfo.param66)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护16:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param67)}`"
						:value-style="{color: comColor2(batteryInfo.param67)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过放电压保护17:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param68)}`"
						:value-style="{color: comColor2(batteryInfo.param68)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护18:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param69)}`"
						:value-style="{color: comColor2(batteryInfo.param69)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护19:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param70)}`"
						:value-style="{color: comColor2(batteryInfo.param70)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护20:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param71)}`"
						:value-style="{color: comColor2(batteryInfo.param71)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护21:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param72)}`"
						:value-style="{color: comColor2(batteryInfo.param72)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护22:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param73)}`"
						:value-style="{color: comColor2(batteryInfo.param73)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护23:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param74)}`"
						:value-style="{color: comColor2(batteryInfo.param74)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护24:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param75)}`"
						:value-style="{color: comColor2(batteryInfo.param75)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过放电压保护25:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param76)}`"
						:value-style="{color: comColor2(batteryInfo.param76)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护26:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param77)}`"
						:value-style="{color: comColor2(batteryInfo.param77)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护27:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param78)}`"
						:value-style="{color: comColor2(batteryInfo.param78)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护28:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param79)}`"
						:value-style="{color: comColor2(batteryInfo.param79)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护29:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param80)}`"
						:value-style="{color: comColor2(batteryInfo.param80)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护30:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param81)}`"
						:value-style="{color: comColor2(batteryInfo.param81)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护31:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param82)}`"
						:value-style="{color: comColor2(batteryInfo.param82)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护32:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param83)}`"
						:value-style="{color: comColor2(batteryInfo.param83)}">
					</u-cell-item>
				</view>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="过放电压保护33:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param84)}`"
						:value-style="{color: comColor2(batteryInfo.param84)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护34:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param85)}`"
						:value-style="{color: comColor2(batteryInfo.param85)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护35:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param86)}`"
						:value-style="{color: comColor2(batteryInfo.param86)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护36:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param87)}`"
						:value-style="{color: comColor2(batteryInfo.param87)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护37:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param88)}`"
						:value-style="{color: comColor2(batteryInfo.param88)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护38:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param89)}`"
						:value-style="{color: comColor2(batteryInfo.param89)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护39:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param90)}`"
						:value-style="{color: comColor2(batteryInfo.param90)}">
					</u-cell-item>
					<u-cell-item title="过放电压保护40:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param91)}`"
						:value-style="{color: comColor2(batteryInfo.param91)}">
					</u-cell-item>
				</view>

				<u-cell-item title="SN：" :arrow="false" :value="`${batteryInfo.param92}`">
				</u-cell-item>
				<u-cell-item title="电池包实际总电压：" :arrow="false" :value="`${batteryInfo.param93}V`">
				</u-cell-item>
				<u-cell-item title="电芯数量：" :arrow="false" :value="`${batteryInfo.param94}`">
				</u-cell-item>
				<u-cell-item title="SOC：" :arrow="false" :value="`${batteryInfo.param95}`">
				</u-cell-item>
				<u-cell-item title="剩余容量：" :arrow="false" :value="`${batteryInfo.param96}AH`">
				</u-cell-item>
				<u-cell-item title="SOH：" :arrow="false" :value="`${batteryInfo.param97}`">
				</u-cell-item>
				<u-cell-item title="充电电流：" :arrow="false" :value="`${batteryInfo.param98}A`">
				</u-cell-item>
				<u-cell-item title="环境温度：" :arrow="false" :value="`${batteryInfo.param99}℃`">
				</u-cell-item>
				<u-cell-item title="电芯最低温度：" :arrow="false" :value="`${batteryInfo.param100}℃`">
				</u-cell-item>
				<u-cell-item title="板卡温度：" :arrow="false" :value="`${batteryInfo.param101}℃`">
				</u-cell-item>
				<u-cell-item title="电芯最高电压：" :arrow="false" :value="`${batteryInfo.param102}V`">
				</u-cell-item>
				<u-cell-item title="电芯最低电压：" :arrow="false" :value="`${batteryInfo.param103}V`">
				</u-cell-item>
				<u-cell-item title="电芯最高温度：" :arrow="false" :value="`${batteryInfo.param104}℃`">
				</u-cell-item>
				<u-cell-item title="充电电流请求值：" :arrow="false" :value="`${batteryInfo.param105}A`">
				</u-cell-item>
				<u-cell-item title="充电电压请求值：" :arrow="false" :value="`${batteryInfo.param106}V`">
				</u-cell-item>
				<u-cell-item title="BMS充电标志位：" :arrow="false"
					:value="`${BMS_SIGN[batteryInfo.param107] || batteryInfo.param107}`"
					:value-style="{color: comColor2(batteryInfo.param107)}">
				</u-cell-item>
				<u-cell-item title="快充充电电流请求值：" :arrow="false" :value="`${batteryInfo.param108}A`">
				</u-cell-item>
				<u-cell-item title="快充充电电压请求值：" :arrow="false" :value="`${batteryInfo.param109}V`">
				</u-cell-item>
				<u-cell-item title="BMS快充充电标志位：" :arrow="false"
					:value="`${BMS_SIGN[batteryInfo.param110] || batteryInfo.param110}`"
					:value-style="{color: comColor2(batteryInfo.param110)}">
				</u-cell-item>

				<h5 class="label-title warn-title">MOS状态：</h5>
				<view class="warn-cell">
					<u-cell-item title="充电MOS管状态:" :arrow="false"
						:value="`${MOS_PIPE_STATUS[batteryInfo.param111] || batteryInfo.param111}`"
						:value-style="{color: comColor(batteryInfo.param111)}">
					</u-cell-item>
					<u-cell-item title="放电MOS管状态:" :arrow="false"
						:value="`${MOS_PIPE_STATUS[batteryInfo.param112] || batteryInfo.param112}`"
						:value-style="{color: comColor(batteryInfo.param112)}">
					</u-cell-item>
				</view>
				<u-cell-item title="电池版本：" :arrow="false" :value="`${batteryInfo.param113}`">
				</u-cell-item>
				<u-cell-item title="电池容量校准标志位：" :arrow="false"
					:value="`${BATTERY_ADJUST[batteryInfo.param114] || batteryInfo.param114}`">
				</u-cell-item>
				<u-cell-item title="放电电流请求值：" :arrow="false" :value="`${batteryInfo.param115}A`">
				</u-cell-item>
				<u-cell-item title="电池状态：" :arrow="false"
					:value="`${BATTERY_STATUSING[batteryInfo.param116] || batteryInfo.param116}`">
				</u-cell-item>
				<u-cell-item title="BMS控制状态：" :arrow="false"
					:value="`${BATTERY_CONTROL[batteryInfo.param117] || batteryInfo.param117}`">
				</u-cell-item>

				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="单体1均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param118)}`"
						:value-style="{color: comColor2(batteryInfo.param118)}">
					</u-cell-item>
					<u-cell-item title="单体2均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param119)}`"
						:value-style="{color: comColor2(batteryInfo.param119)}">
					</u-cell-item>
					<u-cell-item title="单体3均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param120)}`"
						:value-style="{color: comColor2(batteryInfo.param120)}">
					</u-cell-item>
					<u-cell-item title="单体4均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param121)}`"
						:value-style="{color: comColor2(batteryInfo.param121)}">
					</u-cell-item>
					<u-cell-item title="单体5均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param122)}`"
						:value-style="{color: comColor2(batteryInfo.param122)}">
					</u-cell-item>
					<u-cell-item title="单体6均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param123)}`"
						:value-style="{color: comColor2(batteryInfo.param123)}">
					</u-cell-item>
					<u-cell-item title="单体7均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param124)}`"
						:value-style="{color: comColor2(batteryInfo.param124)}">
					</u-cell-item>
					<u-cell-item title="单体8均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param125)}`"
						:value-style="{color: comColor2(batteryInfo.param125)}">
					</u-cell-item>
				</view>
				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="单体9均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param126)}`"
						:value-style="{color: comColor2(batteryInfo.param126)}">
					</u-cell-item>
					<u-cell-item title="单体10均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param127)}`"
						:value-style="{color: comColor2(batteryInfo.param127)}">
					</u-cell-item>
					<u-cell-item title="单体11均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param128)}`"
						:value-style="{color: comColor2(batteryInfo.param128)}">
					</u-cell-item>
					<u-cell-item title="单体12均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param129)}`"
						:value-style="{color: comColor2(batteryInfo.param129)}">
					</u-cell-item>
					<u-cell-item title="单体13均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param130)}`"
						:value-style="{color: comColor2(batteryInfo.param130)}">
					</u-cell-item>
					<u-cell-item title="单体14均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param131)}`"
						:value-style="{color: comColor2(batteryInfo.param131)}">
					</u-cell-item>
					<u-cell-item title="单体15均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param132)}`"
						:value-style="{color: comColor2(batteryInfo.param132)}">
					</u-cell-item>
					<u-cell-item title="单体16均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param133)}`"
						:value-style="{color: comColor2(batteryInfo.param133)}">
					</u-cell-item>
				</view>
				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="单体17均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param134)}`"
						:value-style="{color: comColor2(batteryInfo.param134)}">
					</u-cell-item>
					<u-cell-item title="单体18均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param135)}`"
						:value-style="{color: comColor2(batteryInfo.param135)}">
					</u-cell-item>
					<u-cell-item title="单体19均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param136)}`"
						:value-style="{color: comColor2(batteryInfo.param136)}">
					</u-cell-item>
					<u-cell-item title="单体20均衡开启:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param137)}`"
						:value-style="{color: comColor2(batteryInfo.param137)}">
					</u-cell-item>
					<u-cell-item title="总电压过压保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param138)}`"
						:value-style="{color: comColor2(batteryInfo.param138)}">
					</u-cell-item>
					<u-cell-item title="总电压欠压保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param139)}`"
						:value-style="{color: comColor2(batteryInfo.param139)}">
					</u-cell-item>
					<u-cell-item title="超高温保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param140)}`"
						:value-style="{color: comColor2(batteryInfo.param140)}">
					</u-cell-item>
					<u-cell-item title="MOS高温保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param141)}`"
						:value-style="{color: comColor2(batteryInfo.param141)}">
					</u-cell-item>
				</view>
				<h5 class="label-title warn-title">电池开关量：</h5>
				<view class="warn-cell">
					<u-cell-item title="环境低温保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param142)}`"
						:value-style="{color: comColor2(batteryInfo.param142)}">
					</u-cell-item>
					<u-cell-item title="环境高温保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param143)}`"
						:value-style="{color: comColor2(batteryInfo.param143)}">
					</u-cell-item>
					<u-cell-item title="电芯失效保护:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param144)}`"
						:value-style="{color: comColor2(batteryInfo.param144)}">
					</u-cell-item>
					<u-cell-item title="放电限流告警:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param145)}`"
						:value-style="{color: comColor2(batteryInfo.param145)}">
					</u-cell-item>
					<u-cell-item title="GSM信号异常告警:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param146)}`"
						:value-style="{color: comColor2(batteryInfo.param146)}">
					</u-cell-item>
					<u-cell-item title="GPS信号异常告警:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param147)}`"
						:value-style="{color: comColor2(batteryInfo.param147)}">
					</u-cell-item>
					<u-cell-item title="电池丢失告警:" :arrow="false" :value="`${detailYesOrNo(batteryInfo.param148)}`"
						:value-style="{color: comColor2(batteryInfo.param148)}">
					</u-cell-item>
				</view>
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	import statejs from './state.js';

	import {
		getLockOption,
		batteryIsOn,

		NETWORK,
		PLATFORM_CONNECT,
		IS_ENABLE,
		IS_ONLINE,
		POWER_CHANGE,
		IS_WARN,
		IS_ENABLED,
		HEAT1,
		ABNORMAL_OUTAGE,
		FLOODLIGHT,
		MAINTAIN_DOOR,
		WATER_FEEDBACK,
		SMOKE_STATUS,
		IS_START,
		IS_FAULT,
		IS_NORMAL,
		OVETRCURRENT,
		IS_DORMANT,
		CURRENT_LIMIT,
		IS_AUTO,
		IS_FORBIDDEN,
		BATERRY_TYPE,
		RUN_STATUS,
		UNDERVOL,
		UPVOL,
		HIGHTEM,
		PRESSURE,
		MOS_STATUS,
		BMS_STATUS,
		IS_DOORS,
		IS_CHARGE,
		CHARGE_CURRENT,
		OVER_CURRENT,
		VOL_LOSE,
		NOTALLOW_CHARGE,
		BATTERY_ONLINE,
		LOAD_PROTECT,
		UP_VOL_PROTECT,
		CURRENT_LIMIT_WARN,
		CELL_HIGH_TEM,
		ENVIR_LOW_TEM,
		ENVIR_HIGH_TEM,
		MOS_HIGH_TEM,
		LOW_VOL_PROTECT,
		INVERSE_PROTECT,
		BMS_SIGN,
		MOS_PIPE_STATUS,
		BATTERY_ADJUST,
		BATTERY_STATUSING,
		BATTERY_CONTROL,
		DOOR_STATUS,
		BATTERY_ISON,LOWTEM,
	} from "@/common/config.js";
	export default {
		mixins: [statejs],
		data() {
			return {
				type: 0, //参数类型
				paramTitle: "", //参数模块名称
				binNum: 0, //仓个数
				currentIndex: null, //当前仓号
				command: null, //命令字
				deviceInfo: {}, //设备信息
				dgMessage: "", //检测状态提示信息
				index: null, //几号仓

				unitInfo: { //检测单元状态信息
					param1: '',
					param2: '',
					param3: '',
					param4: '',
					param5: '',
					param6: '',
					param7: '',
					param8: '',
					param9: '',
					param10: '',
					param11: '',
					param12: '',
					param13: '',
					param14: '',
					param15: '',
					param16: '',
					param17: '',
					param18: '',
					param19: '',
					param20: '',
					param21: '',
					param22: '',
					param23: '',
					param24: '',
					param25: '',
					param26: '',
					param27: '',
					param28: '',
					param29: '',
					param30: '',
					param31: '',
					param32: '',
					param33: '',
					param34: '',
				},
				cabinetInfo: { //柜控电源
					param1: '',
					param2: '',
					param3: '',
					param4: '',
					param5: '',
					param6: '',
					param7: '',
					param8: '',
					param9: '',
					param10: '',
					param11: '',
					param12: '',
				},
				powerInfo: {
					param1: '',
					param2: '',
					param3: '',
					param4: '',
					param5: '',
					param6: '',
					param7: '',
					param8: '',
					param9: '',
					param10: '',
					param11: '',
					param12: '',
					param13: '',
					param14: '',
					param15: '',
					param16: '',
				},
				batteryInfo: {
					param1: '',
					param2: '',
					param3: '',
					param4: '',
					param5: '',
					param6: '',
					param7: '',
					param8: '',
					param9: '',
					param10: '',
					param11: '',
					param12: '',
					param13: '',
					param14: '',
					param15: '',
					param16: '',
					param17: '',
					param18: '',
					param19: '',
					param20: '',
					param21: '',
					param22: '',
					param23: '',
					param24: '',
					param25: '',
					param26: '',
					param27: '',
					param28: '',

					param29: '',
					param30: '',
					param31: '',
					param32: '',
					param33: '',
					param34: '',
					param35: '',
					param36: '',

					param37: '',
					param38: '',
					param39: '',
					param40: '',
					param41: '',
					param42: '',
					param43: '',
					param44: '',
					param45: '',
					param46: '',
					param47: '',
					param48: '',

					// 电池开关量
					param49: '',
					param50: '',
					param51: '',
					param52: '',

					param53: '',
					param54: '',
					param55: '',
					param56: '',
					param57: '',
					param58: '',
					param59: '',
					param60: '',

					param61: '',
					param62: '',
					param63: '',
					param64: '',
					param65: '',
					param66: '',
					param67: '',
					param68: '',

					param69: '',
					param70: '',
					param71: '',
					param72: '',
					param73: '',
					param74: '',
					param75: '',
					param76: '',

					param77: '',
					param78: '',
					param79: '',
					param80: '',
					param81: '',
					param82: '',
					param83: '',
					param84: '',

					param85: '',
					param86: '',
					param87: '',
					param88: '',
					param89: '',
					param90: '',
					param91: '',
					param92: '',

					param93: '',

					param94: '',
					param95: '',
					param96: '',

					param97: '',
					param98: '',

					param99: '',
					param100: '',
					param101: '',
					param102: '',
					param103: '',
					param104: '',

					param105: '',
					param106: '',
					param107: '',
					param108: '',
					param109: '',
					param110: '',

					param111: '',
					param112: '',
					param113: '',
					param114: '',
					param115: '',
					param116: '',
					param117: '',
					param118: '',
					param119: '',
					param120: '',
					param121: '',
					param122: '',

					param123: '',
					param124: '',
					param125: '',
					param126: '',
					param127: '',
					param128: '',
					param129: '',

					param130: '',
					param131: '',
					param132: '',
					param133: '',
					param134: '',
					param135: '',
					param136: '',

					param137: '',
					param138: '',
					param139: '',
					param140: '',
					param141: '',
					param142: '',
					param143: '',

					param144: '',
					param145: '',
					param146: '',
					param147: '',
					param148: '',
					param149: '',
				},
				chargeInfo: {
					param1: "",
					param2: "",
					param3: "",
					param4: "",
					param5: "",
					param6: "",
					param7: "",
					param8: "",
					param9: "",
					param10: "",
					param11: "",
					param12: "",
					param13: "",
					param14: "",
					param15: "",
					param16: "",
					param17: "",
					param18: "",
					param19: "",
					param20: "",
					param21: "",
					param22: "",
					param23: "",
					param24: "",

					param25: "",
					param26: "",
					param27: "",
					param28: "",
					param29: "",
					param30: "",
					param31: "",
					param32: "",
					param33: "",
					param34: "",
					param35: "",
					param36: "",
					param37: "",
					param38: "",
					param39: "",
					param40: "",
					param41: "",
				},
				binStatus: {
					param1: "",
					param2: "",
					param3: "",
					param4: "",
					param5: "",
					param6: "",
					param7: "",
					param8: "",
					param9: "",
					param10: "",
					param11: "",
					param12: "",
					param13: "",
					param14: "",
					param15: "",
					param16: "",
					param17: "",
					param18: "",
				},

				NETWORK: NETWORK,
				PLATFORM_CONNECT: PLATFORM_CONNECT,
				IS_ENABLE: IS_ENABLE,
				IS_ONLINE: IS_ONLINE,
				POWER_CHANGE: POWER_CHANGE,
				IS_WARN: IS_WARN,
				IS_ENABLED: IS_ENABLED,
				HEAT1: HEAT1,
				ABNORMAL_OUTAGE: ABNORMAL_OUTAGE,
				FLOODLIGHT: FLOODLIGHT,
				MAINTAIN_DOOR: MAINTAIN_DOOR,
				WATER_FEEDBACK: WATER_FEEDBACK,
				SMOKE_STATUS: SMOKE_STATUS,
				IS_START: IS_START,
				IS_FAULT: IS_FAULT,
				IS_NORMAL: IS_NORMAL,
				OVETRCURRENT: OVETRCURRENT,
				IS_DORMANT: IS_DORMANT,
				CURRENT_LIMIT: CURRENT_LIMIT,
				IS_AUTO: IS_AUTO,
				IS_FORBIDDEN: IS_FORBIDDEN,
				BATERRY_TYPE: BATERRY_TYPE,
				RUN_STATUS: RUN_STATUS,
				UNDERVOL: UNDERVOL,
				UPVOL: UPVOL,
				HIGHTEM: HIGHTEM,
				PRESSURE: PRESSURE,
				MOS_STATUS: MOS_STATUS,
				BMS_STATUS: BMS_STATUS,
				IS_DOORS: IS_DOORS,
				IS_CHARGE: IS_CHARGE,
				CHARGE_CURRENT: CHARGE_CURRENT,
				OVER_CURRENT: OVER_CURRENT,
				VOL_LOSE: VOL_LOSE,
				NOTALLOW_CHARGE: NOTALLOW_CHARGE,
				BATTERY_ONLINE: BATTERY_ONLINE,
				LOAD_PROTECT: LOAD_PROTECT,
				UP_VOL_PROTECT: UP_VOL_PROTECT,
				CURRENT_LIMIT_WARN: CURRENT_LIMIT_WARN,
				CELL_HIGH_TEM: CELL_HIGH_TEM,
				ENVIR_LOW_TEM: ENVIR_LOW_TEM,
				ENVIR_HIGH_TEM: ENVIR_HIGH_TEM,
				MOS_HIGH_TEM: MOS_HIGH_TEM,
				LOW_VOL_PROTECT: LOW_VOL_PROTECT,
				INVERSE_PROTECT: INVERSE_PROTECT,
				BMS_SIGN: BMS_SIGN,
				MOS_PIPE_STATUS: MOS_PIPE_STATUS,
				BATTERY_ADJUST: BATTERY_ADJUST,
				BATTERY_STATUSING: BATTERY_STATUSING,
				BATTERY_CONTROL: BATTERY_CONTROL,
				DOOR_STATUS: DOOR_STATUS,
				BATTERY_ISON: BATTERY_ISON,
				LOWTEM:LOWTEM,
			}
		},
		computed: {
			// 柜控电源数量
			comCabinNum() {
				if (Number(this.binNum) < 24) {
					return 1;
				} else if (Number(this.binNum) >= 24 && Number(this.binNum) < 36) {
					return 2;
				} else {
					return 3;
				}
			},
			comColor() {
				return function(item) {
					if (item == 0) {
						return '#f56c6c';
					} else if (item == 1) {
						return '#19be6b'
					}
				}
			},
			comColor2() {
				return function(item) {
					if (item == 1) {
						return '#f56c6c';
					} else if (item == 0) {
						return '#19be6b'
					}
				}
			},
			detailYesOrNo() {
				return function(val) {
					if (val == 1) {
						return "是";
					} else if (val !== '' && val != 1) {
						return '否';
					} else {
						return '';
					}
				}
			},
		},
		onLoad(e) {
			this.deviceInfo = JSON.parse(decodeURIComponent(e.deviceInfo));
			this.type = e.type;
			this.binNum = e.binNum;
			this.index = Number(e.index);
			this.detailData();
			this.resetData();
			this.doRead(this.index);
		},
		methods: {
			resetData() {
				for (let key of Object.keys(this.binStatus)) {
					this.binStatus[key] = "";
				}
				for (let key of Object.keys(this.batteryInfo)) {
					this.batteryInfo[key] = "";
				}
				for (let key of Object.keys(this.chargeInfo)) {
					this.chargeInfo[key] = "";
				}
				for (let key of Object.keys(this.cabinetInfo)) {
					this.cabinetInfo[key] = "";
				}
				for (let key of Object.keys(this.unitInfo)) {
					this.unitInfo[key] = "";
				}
				for (let key of Object.keys(this.powerInfo)) {
					this.powerInfo[key] = "";
				}
			},
		},
	}
</script>

<style lang="scss" scoped>
	@import "@/static/css/common.scss";
	@import "../index.scss";

	.container {
		padding: 20rpx;

		.detail-head {
			position: relative;

			.research_btn {
				position: absolute;
				right: 0;
			}
		}
	}
</style>